-
Notifications
You must be signed in to change notification settings - Fork 186
[candidate_profile] Translate Candidate Info widget on candidate_profile #10024
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
ab2659a
to
4e5f310
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…ile page This translates the first candidate info widget on the candidatE_profile page. Japanese is used as the sample language.
4e5f310
to
fe38854
Compare
@racostas I rebased and the tests seem to be passing now. For the dates, I don't think the YM/YMD config was ever honoured on this page. The code is using the IntlDateFormatter to format it according to the user's locale. There's no specific setting, because it uses the standard for the region. Not sure why Caveat isn't getting translated for you? Did you run make? It is getting translated for me and is in the .po file. |
@driusan, sound good for the date format. I did a bit of investigation and its seems is only honoured ( partially ) in new_profile and maybe others I could be missing ... possible instruments but not all across LORIS ... something we can think a bit about but definitively preexisting and not related with this PR. For the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
This translates the first candidate info widget on the candidatE_profile page.
Japanese is used as the sample language.
(It also required adding an "english" translation so that msgid_plural is recognized for the Cohort(s) label instead of hardcoding adding an "s" in the code.)